<div class="flow-node" [title]="title">
  <div class="tags" *ngIf="details">
    <span *ngIf="node.isFirstInspection">
      <d-tag [tag]="'首检' " [labelStyle]="'tag-custom1'"></d-tag>
    </span>
    <span class="me-1" *ngIf="node.isInspection">
      <d-tag [tag]="'检验' " [labelStyle]="'tag-custom1'"></d-tag>
    </span>
    <span *ngIf="node.isOutsourcing">
      <d-tag [tag]="'委外' " [labelStyle]="'tag-custom2'"></d-tag>
    </span>
    <span class="me-1" *ngIf="!node.isOutsourcing">
      <d-tag [tag]="'自制' " [labelStyle]="'tag-custom'"></d-tag>
    </span>
  </div>
  <i *ngIf="delete" class="icon-error-o" (click)="onDelete()"></i>
    <div class="flow-node-body" [ngClass]="{'active':isClicked}">
      <div class="flow-node-body-item">
        <span class="title">#<span>{{node.processNumber | padZero}}</span></span>
        <span style="text-align: center;">{{node.processName}}</span>
        <div></div>
      </div>
    </div>
</div>

